/**
 * Copyright (c) 2018-2028, kongcloud@foxmail.com.
 * <p>
 * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE 3.0;
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.gnu.org/licenses/lgpl.html
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.kongcloud.core.constant;

/**
 * Consul常量.
 *
 * @author Chill
 */
public interface ConsulConstant {

	/**
	 * consul
	 */
	String CONSUL_ADDR_LOCAL = "http://localhost";
	String CONSUL_ADDR_PROD_GGJ = "http://192.168.7.41,http://192.168.7.41,http://192.168.7.41";
	String CONSUL_ADDR_PROD = "http://10.0.2.138,http://10.0.2.139,http://10.0.2.140";
	String CONSUL_ADDR_PRE = "http://172.16.1.68,http://172.16.1.104,http://172.16.1.70";
	String CONSUL_ADDR_QA = "http://172.16.1.127,http://172.16.1.128,http://172.16.1.129";

	/**
	 * consul端口
	 */
	String CONSUL_PORT = "8500";

	/**
	 * 配置文件后缀
	 */
	String CONSUL_CONFIG_FORMAT = "yml";

	/**
	 * Watch机制
	 */
	String CONSUL_WATCH_DELAY = "1000";

	/**
	 * Watch机制
	 */
	String CONSUL_WATCH_ENABLED = "true";

}
